package com.zyf.chapter01.principle.LOD.refactor;

/**
 * 序列化工具类
 * 包含序列化和反序列化
 * @author yifeng
 */
public class Serialization implements Serializable, Deserializable {
    @Override
    public String serialize(Object object) {
        String serializedResult = "";
        // ...
        return serializedResult;
    }

    @Override
    public Object deserialize(Object object) {
        Object deserializedResult = "";
        // ...
        return deserializedResult;
    }
}
